package com.hake.util;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author h.wang
 * @date 2017-02-25 上午 10:47
 */

@ConfigurationProperties
public class SettingUtils {

    @Value("${ftp.userName}")
    private String userName;

    @Value("${ftp.password}")
    private String password;

    @Value("${ftp.ftpHostName}")
    private String ftpHostName;

    @Value("${ftp.ftpPath}")
    private String ftpPath;

    @Value("${ftp.port}")
    private String port;

    @Value("${custom.merNo}")
    private String merNo;

    @Value("${custom.merName}")
    private String merName;

    @Value("${custom.url}")
    private String url;

    @Value("${custom.platCode}")
    private String platCode;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getFtpHostName() {
        return ftpHostName;
    }

    public void setFtpHostName(String ftpHostName) {
        this.ftpHostName = ftpHostName;
    }

    public String getFtpPath() {
        return ftpPath;
    }

    public void setFtpPath(String ftpPath) {
        this.ftpPath = ftpPath;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getMerNo() {
        return merNo;
    }

    public void setMerNo(String merNo) {
        this.merNo = merNo;
    }

    public String getMerName() {
        return merName;
    }

    public void setMerName(String merName) {
        this.merName = merName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPlatCode() {
        return platCode;
    }

    public void setPlatCode(String platCode) {
        this.platCode = platCode;
    }
}
